#include "Parameter.h"

namespace common {

Parameter::Parameter(const int & id, const skreal & val) :IdAble(id), value(val) {

}
skreal Parameter::getValue() {
	return value;
}

void Parameter::setValue(const skreal & val) {
	value = val;
}

std::string Parameter::toString(void){
	std::stringstream o;
	o << "Param-" << getId() << ": [ "
			<< getValue() << " ]";
	return o.str();
}

Parameter::~Parameter() {

}
std::ostream &operator <<(std::ostream &os,Parameter& param) {

	os << std::endl << "Parameter - " << param.getId() << " : [ "
			<< param.getValue() << "]" << std::endl;
	return os;
}

}
